  <% form_tag :controller => 'portlet', :action => 'login' do %>
    <p><label for="login">Login</label><br/>
    <%= text_field_tag 'login' %></p>
    <p><label for="password">Password</label><br/>
    <%= password_field_tag 'password' %></p>
    <p><%= submit_tag 'Log in' %></p>
  <% end %>